package com.pzhyd.sc.util;

import org.hibernate.cfg.Configuration; 
import org.hibernate.tool.hbm2ddl.SchemaExport;
/**
 * 
 * 
 * @author gsw
 *
 */
public class SchemaUtil {   
	public static void main(String[] args) {       
		Configuration cfg = new Configuration().configure("/hibernate.cfg.xml");
        SchemaExport schemaExport= new SchemaExport(cfg);
        schemaExport.create(true, true);
    }
}

